package com.Calculator.models.impl;

import com.Calculator.models.iFunctionName;

public class FunsName implements iFunctionName{
    // 计算器功能名字
    private String[] funs;

    public FunsName() {
        funs = new String[]{"+", "-", "x", "÷"};
    }

    @Override
    public String[] getName() {
        return funs;
    }

    @Override
    public int getLength() {
        return funs.length;
    }

    @Override
    public String[] setName(String[] funs) {
        this.funs = funs;
        return funs;
    }
}
